<?php

class TeamController extends GxController {

    public function actionViewTeam() {  
        $this->pageTitle = SITE_TITLE . ' | Team';
            Yii::app()->clientScript->registerMetaTag(strip_tags('skillhippo team'), 'description');
            Yii::app()->clientScript->registerMetaTag('skillhippo team', 'keywords');
        $dataProvider = new CActiveDataProvider('Team', array(
                    'criteria' => array(
                        'condition' => 'status= :status',
                        'params' => array(':status' => SkillConfig::STATUS_ACTIVE)
                    ),
                    'pagination' => array(
                        'pageSize' => 100,
                    ),)
        );

        $this->render('index', array(
            'dataProvider' => $dataProvider,
        ));
    }

}